package com.qili.entity.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author zhaoyongke
 * @date 2020/11/3  里程碑表
 * @description
 */
@Table(name="base_milepost_jc")
@Data
@ToString
@EqualsAndHashCode
@Component
public class BaseMilepostJc {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "order_num")
    private Integer orderNum;


    /**
     * 里程碑英语简称
     */
    @Column(name = "milepost_enjc")
    private String milepostEnjc;

    /**
     * 里程碑占比
     */
    @Column(name = "milepost_zb")
    private Short milepostZb;
    /**
     * 阶段表主键
     */
    @Column(name = "stage_id")
    private String stageId;
    /**
     * 里程编号
     */
    @Column(name = "milepost_no")
    private String milepostNo;

    /**
     * 里程名称
     */
    @Transient
    private String milepostName;



    private static final long serialVersionUID = 1L;

}
